package com.hospital.warehouse.outstock.dao;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hospital.warehouse.outstock.entity.Outstock;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Mr. YR
 * @since 2020-04-20
 */
public interface OutstockDao extends BaseMapper<Outstock> {

	public <T> IPage<T> paging(@Param("po") T po, Page<T> page, @Param(Constants.WRAPPER) Wrapper<T> wrapper);

	public Outstock queryById(Integer id);
}
